Exercise 2: Create a dataset and analysis from scratch 10
The attribute pane 11
Create a dataset 11
Create your own analysis using the analysis and variable
browsers 12
StatView is completely interactive 14
Save your analysis as a template 15
Exercise 3: Work with templates and action objects 15
Apply a template to new variables 15
Action objects and additional output 17
Adding a variable to a selected table 18
Split by 19
Customizing bar charts 20
Exercise 4: Drawing and page layout for presentation. 22
Drawing and text tools 22
Clean up and printing 23
Exercise 5: Data management 24
Formula dialog box 25
Using a regression template 26
Customizing tables 26
Customizing scattergrams 27
Criteria 28
5. Additional Information 29
Importing to StatView 29
Features disabled in this demonstration 30
For more information 30
1. Introduction
Welcome to your StatView® 4.0 demonstration. After you use this program, we are sure that you will find that StatView 4.0 is by far the most versatile and easy-to-use, data analysis and presentation package available on any computer.
This document explains how to use StatView 4.0 demonstration software. Its purpose is to show how quickly and easily you can create datasets, perform statistical analyses, generate graphs and create presentations. This version of StatView 4.0 is a fully functional version of StatView with the following limitations:
• You cannot save datasets you create
• You can only save view documents in StatView 4.x view format. You cannot save them as
Text or PICT files.
• Datasets you create are limited to 25 rows and 25 columns
(note: the retail version of StatView 4.0 can create datasets with up to 32,765 columns
and over 2 billion rows)
• You cannot print a document
• You cannot paste from the StatView 4.0 clipboard into either the scrapbook or another
application
• You can only open StatView 4.x format datasets
(note: the retail version of StatView 4.0 can also open StatView II, StatView SE+Graphics
and SuperANOVA format datasets)
• Imported text files are limited to 25 rows and 25 columns
(note: the retail version of StatView 4.0 can create import data with up to 32,765
columns and over 2 billion rows)
• Only ?? templates are included with this demo version. The full retail version ships with
over 40 analysis and graph templates pre-made.
If you have any questions, please feel free to call Abacus Concepts Technical Support at (510) 540-1949. You can also fax us at (510) 540-0260.
If you know of other people who would like to see first-hand how our software performs, you may copy your demonstration version of StatView 4.0 and this document for them. The StatView 4.0 demonstration program and this document are not in the public domain. However, we allow you to copy them for non-commercial use.
.i.system requirements;System requirements
To use StatView you need a Macintosh with the following:
• a minimum of 2 megabytes of main memory (.i.RAM;)
• Macintosh Operating System version 6.0.4 or later
• a hard disk
If you are running MultiFinder or Apple System 7, you may need additional main memory depending on your system settings. StatView is completely compatible with MultiFinder and System 7.
The StatView demo software contain two versions of the program: one which requires a floating-point math coprocessor (FPU) and one which is designed to run without the FPU. The installation software determines which type of machine you have and installs the correct version for your Macintosh. You may also customize the installation to install a specific version.
2. StatView highlights
StatView is the first software package that offers in a single application all the tools that scientists and researchers need to analyze and present their data. In the past, you first entered data into a spreadsheet program where you performed transformations or mathematical manipulations; the transformed data was then imported into a second application for statistical analysis; a third program was used to create graphs; and finally a drawing program was required to prepare tables and graphs for presentation. Each of these transfers added time to your project, introduced the possibility of error, and forced you to learn separate applications. By allowing you to perform all these tasks inside one application, StatView can significantly decrease the time you spend on data analysis and presentation.
Unlike some integrated software, StatView is not four applications roughly spliced together. There are no modules that you have to move between in order to use the program. StatView is a seamlessly integrated data analysis environment, designed so that all its features are at your fingertips at all times. And StatView’s innovative templates offer a graphical way to record the steps you use to analyze and present data so you do not have to repeat steps as you do your work.
The sections below offer an introduction to many of StatView’s features.
Spreadsheet-like data management
StatView’s data management give you full control over your data. Data is stored in a column/row format, like a spreadsheet. You have many options for customizing the appearance of the dataset: font, size, number of decimal places, etc. The dataset offers a wide variety of data types including real, integer, date/time, string, currencies, and more. And the variable attribute pane allows you to view descriptive statistics for all your variables at any time and change the type and format of any column with a single click of the mouse.
StatView’s formula generator contains over 150 functions which can be used to create new variables using simple or complex mathematical, statistical, Boolean, and other expressions. If your original data columns change, formula-generated columns change accordingly. The formula generator also generates numerous series, distributions, and random numbers. You can also easily explore your data by restricting an analyses to any user-defined subset of a dataset using the Criteria feature.
Fully customizable graphs and tables
Graphs offered by the program include interaction bar, line, and point charts, pie charts, univariate and bivariate scattergrams and line charts, frequency distribution histograms, percentile plots, regression plots, box plots and more. You can add error bars to your graphs, using any error type you wish. Simple and polynomial regression lines and equations can be added to scattergrams.
Every component of a graph is individually customizable, including the font and size of axis labels, point type, size, and color, bar or pie slice fills and color, the location and size of tick marks, graph frame style, and axis bounds. The exact dimensions of each graph can be specified to meet the requirements of any journal or report format. StatView also offers ten table formats and allows you to create your own table format as well.
A complete drawing environment
All output appears in our view window which has all the features of a drawing document and can cover as many pages as you wish. You can move drawn objects, text, graphs and tables to anywhere in this document. You can align objects to a grid or use rulers to precisely position your output. You can group objects together and position them in different layers.
The Draw menu offers sophisticated tools for adding embellishments to your output, such as arrows, rectangles, lines, splines, and more. You have complete control over color. Text of any font, size, or style can be added anywhere in the view.
Broad-based statistics
Of course, StatView offers a comprehensive range of statistical analyses. From basic descriptive statistics to ANOVA and factor analysis, to a wide range of nonparametric tests. Each statistic offers you many options for specifying to exact detail the parameters of your analysis. And best of all there are no intimidating commands you have to learn to use a statistic. StatView’s expertly designed dialog boxes allow you to quickly and easily choose your statistical tests. This statistical breadth and ease of use has made StatView the most popular statistics package on the Macintosh.
Reduce your data analysis time
StatView contains additional features designed to minimize the time that you spend on the repetitive aspects of data analysis and presentation.
Templates
Templates are similar to batch programs or spreadsheet macros. They store complex series of instructions, which the program executes all at once in response to a single command. Unlike macros or batch programs however, templates are incredibly easy to create using StatView’s graphic interface. Templates retain every detail of an analysis, from the null hypothesis to the size of the tick marks on a graph. All these details are reproduced when you use a template to analyze new data.
There are many ways to use templates to streamline your work. A supervisor or statistical consultant may set up a template tailored to a particular task. The work is done only once. After that, anyone can use the template - simply by specifying a new dataset and variables. Templates can also be used to speed the production of reports or journal articles that must meet standard requirements for figure size and appearance, font size and type, etc.
To use a template, you simply select it from the Analyze menu. All your specifications are reproduced with one click of the mouse. In addition, if you do not want to create your own templates, StatView comes with many ready-made templates which generate a wide variety of analyses and graphs.
Action objects
All results, both tables and graphs, generated by StatView are action objects. This means they retain information about the steps that were required to generate them: the analysis and variable specifications. This information can be used to generate subsequent analyses without you having to specify the same information over again. Action objects significantly reduce the amount of time it takes to generate a series of related analyses.
Interactivity
All Abacus Concepts software is completely interactive. Results are dynamically linked to datasets so that any changes to your data are automatically reflected in results. Simply make the change to your dataset, and StatView automatically recalculates your results. This feature makes it easy to perform “what-ifs” on data. It also means that once you have generated your graphs and tables, there is no need to repeat the whole process if you find a data error or want to eliminate a possible outlier.
Hints
Help is available for most facets of the program. If you are running System 7, you can turn on balloon help and get information on each menu item, control, dialog box button and more. If you are running System 6, the same information is available in a floating hints window (which you can also use under System 7). If you are ever unclear about a program operation, you can simply open the hints window or turn on balloon help to discover how the program works.
Extensibility
Finally, StatView has been developed using the latest object-oriented technology allowing Abacus Concepts to deliver new program features to you as modular extensions. Instead of releasing an entirely new version, we can deliver a single extension to the program which, once placed in the Tools folder, will appear in the program. These extensions can be anything from new graphs and statistics to additional data management functions. We would like to here from you about the extensions to StatView that you would like to see.
3. StatView 4.0 Features
StatView is an integrated data analysis system, combining powerful graphing, drawing, spreadsheet-like data management tools and comprehensive statistical capabilities, all in a single application. All this functionality is accessible through StatView’s innovative, fast and easy-to-use analysis process.
Data management
StatView holds its data in a dataset, a spreadsheet format in which columns represent variables (such as gender, weight, height) and rows represent cases (such as patients in a medical study or plots in a field study). You can enter data by hand, or easily import it as a text file from another application. The Formula generator allows you to create variables using simple or complex arithmetic functions and generate various series or distributions. The dataset includes an attribute pane, in which descriptive statistics for each variable can be accessed by a click of the mouse. You will also find it easy to look at subsets of your data using criteria or splitting by different grouping variables.
View window
After entering or importing data, you are ready to perform analyses. All the results of your analyses are placed in a view. A single view can display tables and graphs from an unlimited number of analyses. A view can also simultaneously display results from different datasets. You can even combine variables from different datasets in a single analysis. You can save a view, with all its contents, and reopen it later for review or modification. The figure below shows the important features of a view.
Analysis process
There are two ways to generate graphical and statistical analyses in StatView: choose a template (shipped with the program or created by you) using the Analyze menu, or create an analysis from scratch using the analysis browser and the variable browser.
Templates
Templates are similar to batch programs or spreadsheet macros in that they record your actions and store them as a series of instructions, which the program executes all at once in response to a single command. You can customize a template to include frequently-used analyses along with extensive format specifications for graphs and tables. Templates are easy to create using StatView’s innovative graphic interface, but you may also use StatView’s ready-made templates to perform analyses without learning any other features of the program. In order to take full advantage of StatView’s potential, however, we recommend that you learn to create your own templates.
Analysis and variable browsers
The analysis and variable browsers are the tools you use to create analyses from scratch and to create templates. The analysis browser lists all analyses, both statistical and graphical, so you can create any analysis with two clicks of the mouse. Most analyses present a dialog box in which you set the parameters of the analysis (specify the null hypothesis, significance levels, etc.).
The variable browser allows you to assign variables to your analyses. This browser lists all the variables in any open datasets; you can use it to open additional datasets as well. Variables are assigned, just as analyses are created, with two clicks of the mouse. The variable browser also offers several options for the order in which variables appear in the browser and displays information about how variables are used in analyses. These features will help you to use StatView effortlessly and efficiently.
Graphing and drawing
Once you have created results you can customize and embellish them for presentation or publication. A wide spectrum of plots is available to support your conclusions graphically. StatView also contains powerful formatting tools that give you extensive control over the style, position, size, pattern and color of every object in the view and of every component of graphs and tables. The view is a complete drawing environment. The tools in the Draw menu can be used to add drawn objects such as arrows and circles to emphasize important points in your results. You can also add text anywhere in the view.
The following exercises provide an introduction to all these features of StatView.
4. Using StatView 4.0
The five exercises in this demonstration tutorial provide an introduction to the tools and concepts of StatView. In order to fully see the power of StatView we recommend that you follow the steps of the tutorials at your computer. This tutorial will familiarize you with the range of capabilities available with StatView 4.0. The exercises are as follows:
1. Use a ready-made template and save results
2. Create a dataset and analysis from scratch and save your work as a template
3. Work with the template you created and customize graphs
4. Customize your results for presentation and publication
5. Manipulate your data using formula and criteria
Note: when you first launch StatView you will notice that a floating “hints” window appears in the middle of the screen. StatView provides extensive on-line help in this hints window. You may close this floating window at any time by clicking on the close box. You may make it visible again by choosing Hints from the Window (or ∑) menu.
Exercise 1: Use a template and save results
.i.templates:tutorial;.i.Assign Variables dialog box:tutorial;.i.saving:results tutorial;StatView is designed to be easy and quick to use. Templates are central to this goal. Templates can be created to perform any combination of statistical or graphical analyses you wish, and they can contain detailed format specifications for the position, font, size, and other characteristics of the results. You do not have to make your own templates to use in StatView. There are many ready-made templates that generate a wide variety of analyses and graphs. Before you learn to create your own templates, you will first learn to use these ready-made templates to analyze data.
Note that only a selection of the ready-made templates is initially installed in the Analyze menu. The remaining templates are in the StatView templates folder, which can be reached by choosing Templates from the Analyze menu. You can customize this menu yourself, as explained below. In addition, this demonstration version includes only a few of the templates that ship with the full retail version.
In this first exercise, you use a ready-made template to generate descriptive statistics and save your results. You will analyze four variables from the sample dataset Car Data. The dataset has information about weight, gas tank size, turning circle, horsepower and engine displacement for 116 cars from different countries. You will generate descriptive statistics that will allow you to make comparisons among the cars from different countries.
• Open Car Data in the Sample Data folder. The dataset appears on the screen.
• Notice the smaller window floating above the dataset. It is the variable browser, a floating window that shows a list of all variables in the dataset. When you select a variable from the variable browser and double-click on it (or click the Show button), that variable is selected in the dataset, which automatically scrolls so the variable’s column is visible in the window.
• Click the show/hide variable browser button in the upper right corner of the dataset. The variable browser is now hidden, and you can see more of the dataset. This button allows you to easily show or hide the variable browser at any time.
• Choose New View from the Analyze menu. An empty view appears on the screen.
The analysis browser at the left of the view lists the statistical analyses and plots available in StatView. (Notice that the view also has a show/hide variable browser button in the upper right corner.) Since you will use a template to generate the analysis in this exercise, you will not use the analysis browser.
• Close the analysis browser by double-clicking on the ∑ symbol at the bottom left of the screen. This maximizes the amount of space in which you can view your results.
Hide analysis and variable browsers
If you are operating StatView on a Macintosh with a small screen (Plus, SE, Classic, SE/30), you may want to use the program with the analysis and variable browsers initially hidden. This will give you more space in which to work. You can set the Application preferences by choosing Preferences from the Manage menu to show or hide these browsers on program startup.
The default, as you have just seen, is to show both browsers. If you choose to hide them, the variable browser will remain hidden until you choose to show it by clicking the show/hide variable browser button. The analysis browser will remain closed until you drag on the resize symbol to show it.
Use a template
• From the Analyze menu, choose Descriptive Statistics.
If Descriptive Statistics does not appear in the menu, choose Additional Templates instead. In the resulting dialog box, you can add any template to the Analyze menu by clicking in the check box to the right of the template’s name and clicking Change Menu. You can use the Descriptive Statistics template directly from this dialog box by selecting it and clicking Use Template.
• After you select a template, the Assign Variables dialog box appears.
• Click on the variable Horsepower in the list on the right. Drag to the “Variable(s)” slot on the left until the gray rectangle outline of the Horsepower variable appears in the slot.
Release the mouse. The horsepower variable is placed in the template slot.
• Double-click on the variable Weight. It is also added to the slot, directly below Horsepower. Notice that the slot grows to contain multiple variables.
• Click the OK button and the results of the template appear in the view:
You have just created your first analysis using StatView. Notice how little time it took and how easy it is to use a template to generate results.
Saving results
You can save your work at any time by saving the view. Remember that when you save a view in StatView, you are not simply saving the text or pictures of the output — you are saving all aspects of the work you have done. When you reopen the document, your work is as you left it, ready for you to pick up where you left off.
• Choose Save from the File menu. The directory dialog box appears.
• Name the view “Car Analysis” in the text box. Place the file in the Sample Data folder, and click Save.
• Close “Car Analysis” by choosing Close from the File menu.
• To re-open your work, choose Open from the File menu.
• Locate the file “Car Analysis” and click Open. This dialog box appears:
The most common use of this dialog box is to leave the default settings and click OK. The default settings tell StatView to use the original variables, from the original dataset(s) and place the output in a new view. Using these defaults will open a view with everything as you left it when the view was saved.
• Click OK.
The view reappears exactly as you left it. In fact, the program did not even have to recalculate your results. By default, all results are saved with a view. If your data has not changed, you can re-open a view and get back to your analysis immediately.
Note, this demonstration version does not allow you to save datasets. As a result, this exercise of saving a view and applying to the original dataset will only work with the sample StatView 4.0 data shipped with this demonstration version. Using the full retail version you will be able to create views and save them with any dataset you create.
Before continuing on to the next example, close both Car Analysis and Car Data by choosing Close from the File menu. Note that you will want to close the view (Car Analysis) before closing the dataset. Do not save any changes to these documents.
Exercise 2: Create a dataset and analysis from scratch
.i.datasets:tutorial;.i.entering data:tutorial;.i.analysis browser:tutorial;.i.variable browser:tutorial;.i.unpaired t-test:tutorial;.i.saving:templates tutorial;In this exercise you create a dataset that contains two variables: a continuous variable and a nominal variable. You then use the analysis and variable browsers (rather than a template) to analyze your data by performing an unpaired t-test. Once the analysis is complete, you will save your work as a template for future use.
As you complete this exercise, you learn that the steps you take to generate results are the same ones you follow to create a template. With this knowledge you can decide how you would like to use StatView to analyze your data. You can use the analysis and variable browsers exclusively or templates exclusively, or a mixture of both. The choice is yours. We recommend that you create custom templates to take full advantage of StatView and meet your specific needs. As this exercise shows, StatView makes this easy to do.
The attribute pane
• Choose New from the File menu. An empty dataset appears on the screen.
The rows above the body of the dataset contain attribute and summary information about the variable in the column below. Together, these rows are called the attribute pane, and you can show or hide as many of the rows as you desire. In a new dataset, the first five rows of the attribute pane are visible. These contain pop-up menus for each of the five attributes of a variable: its data type (string, real, integer, date/time, etc.), its source (whether it was user entered or created using a formula), its class (nominal, continuous, or informative), and the number of decimal places displayed (StatView carries 18 significant digits through all calculations and analyses; this attribute applies only to the way real numbers appear in the column).
Create a dataset
First you will create a column (variable) containing continuous real data. The attribute pane shows the Type and Class for each variable. The default Type and Class for input columns are Real and Continuous. These defaults are appropriate for this variable so you do not need to make any changes before you enter data into the column. An empty cell appears below the attribute pane. This is called the input cell.
• Click the mouse in the input cell to select it, and enter the number 3.2. Press Return.
When you enter a value in the input cell, a new input cell appears directly beneath it and a new input column appears to the right. In this way the dataset grows to include as many rows and columns as are necessary to accommodate your data.
• Enter the numbers 4, 5.8, 6, 12, 8.5, 5.5 and 10.3 in the column. Move down the column using the Return key (or the Enter key if you are using a numeric keypad to enter data).
Now create the column containing the nominal grouping variable for the analysis.
• Use the Type pop-up menu in the attribute pane of the Input Column (the column to the right of Column 1) to change the variable’s Type to String. To do so, click on Real and when the pop-up menu appears, drag to String. Notice that the Class automatically changes to Nominal.
• Click in the top cell of the input column. Enter the values of the grouping variable as follows: Low, Low, High, Low, High, High, Low, High
Next you will name the two columns you have created and save the dataset.
• Select the name “Column 1” and type “Variable 1”. Use the Tab key to move to “Column 2” and type “Variable 2”. Click the mouse in another cell to enter the new variable names.
• Click on the symbol between the two scroll bars on the right and drag down to expose the remaining rows in the attribute pane. You can examine descriptive information about the two columns you created.
• Double-click on the symbol to hide all but the first five rows of the attribute pane. (Double-clicking a second time closes the entire attribute pane.)
Create your own analysis using the analysis and variable browsers
Now you will use the variable and analysis browsers to analyze the data and create a template.
• Choose New View from the Analyze menu. An empty view appears on the screen.
• In the analysis browser, select Unpaired Comparisons and click the Create Analysis button above the list.
A dialog box appears, allowing you to set the parameters for this analysis.
• The default dialog box settings, an unpaired t-test with an hypothesized difference of 0 between group means, are appropriate, so click OK. Empty placeholder tables will appear in the view with the variable requirements for the analysis noted beneath them.
• If the variable browser is hidden, show it by clicking the show/hide variable browser button at the upper right of the view.
• In the variable browser, select Variable 1 and click the Add button. An X appears to the right of it, indicating that it is assigned to the analysis.
• Select Variable 2 and click the Add button. An G appears to the right of it, showing that it is assigned as a grouping variable in the analysis.
• An unpaired t-test table and a group information table appear in the view.
You have just seen how easy it is to use the analysis and variable browser to perform analyses in StatView.
StatView is completely interactive
One of the unique features of StatView is that it is completely interactive. Any changes you make to the dataset, including the use of criteria (see Exercise 5), cause your results to recalculate automatically so the information in your results is always up-to-date. You do not have to start an analysis over from the beginning if you make a mistake or change a data value.
• Choose Untitled Dataset #1 from the Window ( or ∑ ) menu. Change the value in row 3 from 5.8 to 7.8. Press Return or Enter. The rotating yin-yang symbol indicates that the results are recalculating. In fact, whenever this symbol appears, you can cancel the current program operation by pressing Command () -period.